package com.ruoyi.slope.device.sensor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 传感器列表对象 slope_sensor_list
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public class SlopeSensorList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 监测点ID */
    @Excel(name = "监测点ID")
    private String monitorId;

    /** 传感器编码 */
    @Excel(name = "传感器编码")
    private String sensorCode;

    /** 传感器品牌 */
    @Excel(name = "传感器品牌")
    private String sensorBrand;

    /** 传感器型号 */
    @Excel(name = "传感器型号")
    private String sensorModel;

    /** 传感器类型 */
    @Excel(name = "传感器类型")
    private String sensorType;

    /** 信号类别 */
    @Excel(name = "信号类别")
    private String signalType;

    /** 监测类型编码 */
    @Excel(name = "监测类型编码")
    private String monitorType;

    /** 分辨力 */
    @Excel(name = "分辨力")
    private Double resolution;

    /** 精度 */
    @Excel(name = "精度")
    private Double accuracy;

    /** 采样频率 */
    @Excel(name = "采样频率")
    private Double samplingFrequency;

    /** 安装日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installationDate;

    /** 安装位置 */
    @Excel(name = "安装位置")
    private String installationLocation;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private Long state;

    /** 设备SN */
    @Excel(name = "设备SN")
    private String deviceSn;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String dataStatus;

    /** 管养单位 */
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMonitorId(String monitorId) 
    {
        this.monitorId = monitorId;
    }

    public String getMonitorId() 
    {
        return monitorId;
    }

    public void setSensorCode(String sensorCode) 
    {
        this.sensorCode = sensorCode;
    }

    public String getSensorCode() 
    {
        return sensorCode;
    }

    public void setSensorBrand(String sensorBrand) 
    {
        this.sensorBrand = sensorBrand;
    }

    public String getSensorBrand() 
    {
        return sensorBrand;
    }

    public void setSensorModel(String sensorModel) 
    {
        this.sensorModel = sensorModel;
    }

    public String getSensorModel() 
    {
        return sensorModel;
    }

    public void setSensorType(String sensorType) 
    {
        this.sensorType = sensorType;
    }

    public String getSensorType() 
    {
        return sensorType;
    }

    public void setSignalType(String signalType) 
    {
        this.signalType = signalType;
    }

    public String getSignalType() 
    {
        return signalType;
    }

    public void setMonitorType(String monitorType) 
    {
        this.monitorType = monitorType;
    }

    public String getMonitorType() 
    {
        return monitorType;
    }

    public void setResolution(Double resolution) 
    {
        this.resolution = resolution;
    }

    public Double getResolution() 
    {
        return resolution;
    }

    public void setAccuracy(Double accuracy) 
    {
        this.accuracy = accuracy;
    }

    public Double getAccuracy() 
    {
        return accuracy;
    }

    public void setSamplingFrequency(Double samplingFrequency) 
    {
        this.samplingFrequency = samplingFrequency;
    }

    public Double getSamplingFrequency() 
    {
        return samplingFrequency;
    }

    public void setInstallationDate(Date installationDate) 
    {
        this.installationDate = installationDate;
    }

    public Date getInstallationDate() 
    {
        return installationDate;
    }

    public void setInstallationLocation(String installationLocation) 
    {
        this.installationLocation = installationLocation;
    }

    public String getInstallationLocation() 
    {
        return installationLocation;
    }

    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    public void setDeviceSn(String deviceSn) 
    {
        this.deviceSn = deviceSn;
    }

    public String getDeviceSn() 
    {
        return deviceSn;
    }

    public void setDataStatus(String dataStatus) 
    {
        this.dataStatus = dataStatus;
    }

    public String getDataStatus() 
    {
        return dataStatus;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("monitorId", getMonitorId())
            .append("sensorCode", getSensorCode())
            .append("sensorBrand", getSensorBrand())
            .append("sensorModel", getSensorModel())
            .append("sensorType", getSensorType())
            .append("signalType", getSignalType())
            .append("monitorType", getMonitorType())
            .append("resolution", getResolution())
            .append("accuracy", getAccuracy())
            .append("samplingFrequency", getSamplingFrequency())
            .append("installationDate", getInstallationDate())
            .append("installationLocation", getInstallationLocation())
            .append("state", getState())
            .append("deviceSn", getDeviceSn())
            .append("dataStatus", getDataStatus())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
